package GUI.menuWin;

import game.CPUGameBoard;
import game.ClassicGameBoard;
import game.GameSettingsOld;
import game.Player;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.util.LinkedList;

import GUI.gameWinOld.GamePanel;
import GUI.gameWinOld.ScorePanel;

@SuppressWarnings("serial")
public class SetUpGamePanel extends GamePanel{

	public SetUpGamePanel(LinkedList<Player> players, ScorePanel scorePanel) {
		super(new BorderLayout());
		setBackground(new Color(0, 77, 0));
		if(GameSettingsOld.testGame)
			gameBoard=new CPUGameBoard(players, this, scorePanel);
		else
			gameBoard=new ClassicGameBoard(players, this, scorePanel);
		setVisible(true);
		setMinimumSize(new Dimension(800,600));
	}	

}
